cmake_minimum_required(VERSION 2.6)
project(HELLO)
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -D_DEBUG")
set(CMAKE_CXX_FLAGS_RELEASE "-O0 -g -DNDEBUG")
find_package(Qt4 4.6.3 COMPONENTS QtCore QtGui QTDbus)
include(${QT_USE_FILE})
set(HELLO_SRCS main.cpp)
add_executable(hello ${HELLO_SRCS})
target_link_libraries(hello ${QT_LIBRARIES})

